package com.dk.service.Impl;

import com.dk.mapper.ClassinfoMapper;
import com.dk.pojo.Classinfo;
import com.dk.service.ClassinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("ClassinfoService")
public class ClassinfoServiceimpl implements ClassinfoService {
    @Autowired
    private ClassinfoMapper classinfoMapper;
    @Override
    public Classinfo Find(String classid) {
        return classinfoMapper.Find(classid);
    }

    @Override
    public List<Classinfo> FindAll() {
        return classinfoMapper.FindAll();
    }

    @Override
    public void add(Classinfo classinfo) {
        classinfoMapper.add(classinfo);
    }

    @Override
    public void Dele(String classid) {
        classinfoMapper.Dele(classid);
    }

    @Override
    public List<Classinfo> UserFind(String name) {
        return classinfoMapper.UserFind(name);
    }

    @Override
    public void Xg(Classinfo classinfo) {
        classinfoMapper.Xg(classinfo);
    }
}
